;p95.asm
assume cs:codesg
codesg segment
   start:  
        mov ax,2000H
        mov ds,ax
        mov bx,0
    s:   
        mov cl,[bx]; cx的低位
        mov ch,0   ; cx的高位固定为零
        jcxz ok; 跳转到ok
        inc bx ;寻址
        jmp short s
    ok:
        mov dx, bx
        
        mov ax, 4c00h 
	    int 21h 
codesg ends
end start